package dao;

import java.util.List;

import pojo.Message;

public abstract interface MessageDAO {
	 public abstract  Message getNewestMessage();
	  
	  public abstract List<Message> getMessages();
	  
	  public abstract  Message add(Message message);

	  public abstract Message update(Message message);

	  public abstract boolean deleteById(String id);
}
